package com.trgzs.bate.common.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @Author: dongl
 * @Email: dong980514280@gmail.com
 * @Create: 2024-04-06 14:15:22
 * @PS 全局异常枚举类
**/
@Getter
@AllArgsConstructor
public enum GlobalExceptionEnum implements IBaseResultEnum {

    CONSTRAINT_VIOLATION_ERROR(10001, "认证错误"),
    SUCCESS(200, "成功");

    final Integer code;

    final String message;

}
